import React from 'react'

export default function Item({ result }) {
    return <div>
        {
            result.map(item => {
                return <div className="card">
                    <a href={item.url} target="_blank">
                        <img src={item.avatar_url} style={{ width: "100px" }} />
                    </a>
                    <p className="card-text">{item.login}</p>
                </div>
            })
        }
    </div>
}
